package pl.mchaniewski.ryneczek.dao;

import java.util.List;

import pl.mchaniewski.ryneczek.pojo.Company;

public interface CompanyDao extends GenericDao<Company, Integer> {

    @Override
    public List<Company> loadAll();

    public List<Company> findByName(String name);

    public List<Company> findDistinctInPortfolio(Integer portfolioid);

    public List<Company> findDistinctInPortfolio(Integer portfolioid,
            boolean wasInLastUpdate);

}
